/*
 * 版权所有(c)  1952110078@qq.com  2022 - 2022
 */

package com.ldc.module_login.net;

import com.google.gson.JsonObject;
import com.ldc.commonlibs.http.ApiService;

import io.reactivex.rxjava3.core.Single;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Query;

/**
 * @author liudc
 * @since 2022/7/6 00:25
 */
public interface HttpService extends ApiService {

    @GET("/login/cellphone")
    Single<JsonObject> CellPhone(@Query("phone") String phone, @Query("password") String password);

    @POST("/login/refresh")
    Single<JsonObject> refreshLogin();
}
